package com.mc.clt.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 采记录对象 clt_result
 *
 * @author mc
 * @date 2021-03-15
 */
public class CltResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String resultId;

    /** 种质编号 */
    @Excel(name = "种质编号")
    private String germplasmId;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private String userId;

    /** 类型 */
    @Excel(name = "类型")
    private String cltType;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionTime;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 海拔 */
    @Excel(name = "海拔")
    private BigDecimal elecation;

    /** 权限 */
    @Excel(name = "权限")
    private String permissions;

    /** 坡度 */
    @Excel(name = "坡度")
    private BigDecimal slopeDegree;

    /** 坡向 */
    @Excel(name = "坡向")
    private String slopeAcpect;

    /** 坡位 */
    @Excel(name = "坡位")
    private String slopePosition;

    /** 地形 */
    @Excel(name = "地形")
    private String topography;

    /** 采集类型 */
    @Excel(name = "采集类型")
    private String type;

    /** 采集任务 */
    @Excel(name = "采集任务")
    private String taskId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 采集地点 */
    @Excel(name = "采集地点")
    private String location;

    /** 是否鉴定 */
    @Excel(name = "是否鉴定")
    private String isAuthenticate;

    /** 采集照片 */
    private String photoPath;

    /** 采集照片 */
    private List<CltMultimedia> imagePath;

    /** 鉴定信息 */
    private String authenticateNameList;

    /** 姓名 */
    private String nickName;

    /** 鉴定名 */
    private String name;

    /** 鉴定名 */
    private String areaCode;

    private String objectId;

    /** 姓名 */
    private List <CltResultUser> users;

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public List<CltResultUser> getUsers() {
        return users;
    }

    public void setUsers(List<CltResultUser> users) {
        this.users = users;
    }

    public List<CltMultimedia> getImagePath() {
        return imagePath;
    }

    public void setImagePath(List<CltMultimedia> imagePath) {
        this.imagePath = imagePath;
    }

    public void setResultId(String resultId)
    {
        this.resultId = resultId;
    }

    public String getResultId()
    {
        return resultId;
    }
    public void setGermplasmId(String germplasmId)
    {
        this.germplasmId = germplasmId;
    }

    public String getGermplasmId()
    {
        return germplasmId;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setCltType(String cltType)
    {
        this.cltType = cltType;
    }

    public String getCltType()
    {
        return cltType;
    }
    public void setCollectionTime(Date collectionTime)
    {
        this.collectionTime = collectionTime;
    }

    public Date getCollectionTime()
    {
        return collectionTime;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setElecation(BigDecimal elecation)
    {
        this.elecation = elecation;
    }

    public BigDecimal getElecation()
    {
        return elecation;
    }
    public void setPermissions(String permissions)
    {
        this.permissions = permissions;
    }

    public String getPermissions()
    {
        return permissions;
    }
    public void setSlopeDegree(BigDecimal slopeDegree)
    {
        this.slopeDegree = slopeDegree;
    }

    public BigDecimal getSlopeDegree()
    {
        return slopeDegree;
    }
    public void setSlopeAcpect(String slopeAcpect)
    {
        this.slopeAcpect = slopeAcpect;
    }

    public String getSlopeAcpect()
    {
        return slopeAcpect;
    }
    public void setSlopePosition(String slopePosition)
    {
        this.slopePosition = slopePosition;
    }

    public String getSlopePosition()
    {
        return slopePosition;
    }
    public void setTopography(String topography)
    {
        this.topography = topography;
    }

    public String getTopography()
    {
        return topography;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskId()
    {
        return taskId;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setIsAuthenticate(String isAuthenticate)
    {
        this.isAuthenticate = isAuthenticate;
    }

    public String getIsAuthenticate()
    {
        return isAuthenticate;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public String getAuthenticateNameList() {
        return authenticateNameList;
    }

    public void setAuthenticateNameList(String authenticateNameList) {
        this.authenticateNameList = authenticateNameList;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("resultId", getResultId())
                .append("germplasmId", getGermplasmId())
                .append("userId", getUserId())
                .append("cltType", getCltType())
                .append("collectionTime", getCollectionTime())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("elecation", getElecation())
                .append("permissions", getPermissions())
                .append("slopeDegree", getSlopeDegree())
                .append("slopeAcpect", getSlopeAcpect())
                .append("slopePosition", getSlopePosition())
                .append("topography", getTopography())
                .append("type", getType())
                .append("remark", getRemark())
                .append("taskId", getTaskId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createUserId", getCreateUserId())
                .append("updateUserId", getUpdateUserId())
                .append("location", getLocation())
                .append("isAuthenticate", getIsAuthenticate())
                .append("photoPath", getPhotoPath())
                .append("name", getName())
                .append("areaCode", getAreaCode())
                .append("objectId", getObjectId())
                .toString();
    }
}